home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000044_news@columbia.edu_Tue Apr 4 04:20:19 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19934
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 5 Apr 1995 08:49:09 -0400
Received: by apakabar.cc.columbia.edu id AA25389
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 5 Apr 1995 08:49:05 -0400
Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!news.cac.psu.edu!psuvm!hdk
Organization: Penn State University
Date: Tue, 4 Apr 1995 08:20:19 EDT
From: H. D. Knoble <HDK@psuvm.psu.edu>
Message-Id: <95094.082019HDK@psuvm.psu.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Capture macro
References: <796463548snz@childsoc.demon.co.uk>
<3lnbub$q0d@apakabar.cc.columbia.edu>
Lines: 20
Apparently-To: kermit.misc@watsun.cc.columbia.edu
To CAPTURE VTxxx session (segments) to a file (E.g., VTXXX.LOG),
without the VTxxx escape sequences imbedded, "take" the following
MS-Kermit 3.14 script segment (thanks to Joe D.):
; Log session without Esc codes. Hot key toggle is Ctrl-PrintScreen.
define WarnApnd Echo Note: Existing Session Log file VTXXX.LOG will, -
Echo be appended until it's renamed or erased.\10, -
run PAUSE
assign \%u \Fsize(VTXXX.LOG) ; 'set printer' does not like null files.
if equal \%u 0 RUN ERASE VTXXX.LOG ; So erase any zero byte log file.
if exist VTXXX.LOG Do WarnApnd ; Notify about appending if necessary.
set printer VTXXX.LOG ; ASCII session logging will be to VTXXX.LOG.
Then after this script has been run, to toggle session logging to
this file on/off, simply press Ctrl-PrintScreen. The resulting
file, VTXXX.LOG in this example, when closed (or MS-Kermit exited)
will contain an ASCII session log (excluding full-screens - E.g.,
VMS EDT screens) without Esc sequences; so (unlike unlike a file
produced with 'log session') this ASCII session log cannot be REPLAYed
of course.